Skip to content

build!: require PHP ^8.2 and adopt PER-CS - #12

Merged
muhammetsafak merged 1 commit into
mainfrom
build/require-php82-per-cs
Nov 22, 2026
Merged

muhammetsafak merged 1 commit into
mainfrom
build/require-php82-per-cs

Conversation

@muhammetsafak

Copy link
Copy Markdown
Contributor

Summary

  • Require PHP ^8.2 (drops 8.1); CI matrix is PHP 8.2, 8.3, 8.4 and 8.5.
  • Adopt the shared php-cs-fixer configuration (PER-CS, ADR-005): .php-cs-fixer.dist.php replaced with the shared template, php-cs-fixer constraint raised to ^3.88 (first release with @PHP8x2Migration); code base reformatted.
  • Update the README requirement and add the breaking-change entry to the CHANGELOG.

Verification

composer validate --strict, vendor/bin/php-cs-fixer fix --dry-run --diff, vendor/bin/phpstan analyse and vendor/bin/phpunit pass locally on PHP 8.5; CI covers 8.2-8.5.

Raise the minimum PHP version to 8.2, run CI on 8.2-8.5, replace the
php-cs-fixer configuration with the shared PER-CS one and reformat the
code base. PHP 8.1 is no longer supported.
@muhammetsafak
muhammetsafak merged commit 4b0d5e2 into main Nov 22, 2026
5 checks passed
@muhammetsafak
muhammetsafak deleted the build/require-php82-per-cs branch November 22, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant